package com.jcomponent;

import javax.swing.JMenuItem;

import com.conf.MenuEnum;

public class MyMenu extends JMenuItem {

	private static final long serialVersionUID = -7499284392885031683L;
	private MenuEnum e;
	public MyMenu(MenuEnum e) {
		super(e.name);
		this.e = e;
	}
	
	public MenuEnum getMenuEnum() {
		return e;
	}
}
